Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Another fix to flaky retry test #25940

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

jalauzon-msft
Copy link
Member

For some reason the socket retry test was sometimes failing when trying to delete the container saying the resource did not exist. I think this was because the timeout on the client was not properly being reset and so the first request may time out reading the response, but the service would still delete the container. The retry would then get the resource does not exist error.

This change constructs a new client with normal timeouts.

@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Aug 29, 2022
Copy link
Member

@vincenttran-msft vincenttran-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BE GONE FLAKY TESTS 🎩

@jalauzon-msft
Copy link
Member Author

/azp run python - storage - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jalauzon-msft jalauzon-msft merged commit 4334655 into Azure:main Aug 30, 2022
@jalauzon-msft jalauzon-msft deleted the flaky-retry branch August 30, 2022 01:42
mccoyp pushed a commit to mccoyp/azure-sdk-for-python that referenced this pull request Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants